package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author L
 * @since 2023-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Caigoushenqing implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private LocalDateTime createTime;

    private Integer ygId;

    /**
     * 实际采购成本
     */
    private String caigouchengben;

    /**
     * 状态：1*待提交2*待验收3*已验收
     */
    private Integer status;

    @TableField(value = "daohuo_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date daohuoTime;



}
